package com.woniuxy.test;

public class B extends A{
    public B() {
        System.out.println("4");
    }
    {
        System.out.println("5");
    }
    static {
        System.out.println("6");
    }
    public static void main(String[] args) {
        new B();
    }

}
class A{
    public A () {
        System.out.println("1");
    }
    {
        System.out.println("2");
    }
    static {
        System.out.println("3");
    }
}
